﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace System.Models.Models
{
    /// <summary>
    /// 消防及电梯物资信息表
    /// </summary>
    [Table("T_Material")]
    public class Material:BaseEntity
    {
        /// <summary>
        /// 物资名
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(100)]
        public string MaterialName { get; set; }
        /// <summary>
        /// 位置
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(255)]
        public string MaterialLocation { get; set; }
        /// <summary>
        /// 维修周期
        /// </summary>
        [Column(TypeName = "varchar"), StringLength(100)]
        public string MaintenanceCycle { get; set; }
    }
}
